﻿<?xml version="1.0" encoding="UTF-8" ?>
<resources>
	<style name="BottomBarButton" parEntryEditSingleLine_ImageView="@style/Widget.AppCompat.Button.Borderless">
		<item name="android:textSize">16sp</item>
		<item name="android:layout_margin">6dp</item>
		<item name="android:layout_marginLeft">4dp</item>
		<item name="android:layout_marginRight">4dp</item>
		<item name="android:paddingBottom">10dp</item>
		<item name="android:paddingTop">10dp</item>
		<item name="android:paddingLeft">8dp</item>
		<item name="android:paddingRight">8dp</item>
		<item name="android:textColor">#2196f3</item>
	</style>
	<!--
	<style name="SplashScreenButton" parent="Widget.AppCompat.Button"> 
		<item name="colorButtonNormal">#fff</item>
		<item name="android:textSize">16sp</item>
		<item name="android:layout_height">32sp</item>
		<item name="android:layout_width">fill_parent</item>
		<item name="android:layout_marginTop">8dp</item>
		<item name="android:layout_marginBottom">8dp</item>
	</style>

	-->

	<style name="SplashScreenButton" parent="@style/Widget.AppCompat.Button"	>
		<item name="android:textSize">16sp</item>
		<item name="android:layout_height">40sp</item>
		<item name="android:layout_width">fill_parent</item>
		<item name="android:background">@drawable/splash_button_bg</item>
		<item name="android:layout_marginTop">8dp</item>
		<item name="android:layout_marginBottom">8dp</item>
		<item name="android:paddingLeft">16dp</item>
		<item name="android:drawablePadding">10dp</item>
		<item name="android:textAllCaps">false</item>
		<item name="android:gravity">left|center_vertical</item>
		<item name="android:textColor">#737373</item>
	</style>


	<style name="EntryEditSingleLine_ImageView">
		<item name="android:layout_width">40dp</item>
    <item name="android:layout_gravity">top</item>
    <item name="android:layout_marginRight">16dp</item>
    <item name="android:layout_marginTop">16dp</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_weight">0</item>
	</style>
	<style name="EntryEditSingleLine_TextInputLayout">
		<item name="android:layout_width">fill_parent</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_weight">1</item>
	</style>
	<style name="EntryEditSingleLine_EditText">
		<item name="android:layout_width">fill_parent</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:paddingTop">0dp</item>
	</style>
	<style name="EntryEditSingleLine_container">
		<item name="android:layout_width">fill_parent</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_marginTop">8dp</item>
		<item name="android:orientation">horizontal</item>
		<item name="android:gravity">center_vertical</item>
	</style>

	<style name="MyTheme" parent="MyTheme.Base">
    <item name="actionModeBackground">@color/appAccentColor</item>
  </style>


  <!--style name="MyTheme.ActionMode" parent="@style/Theme.AppCompat.Light.DarkActionBar">
    <item name="actionModeBackground">#FFFFFF</item>
  </style-->
  
  
	<style name="MyTheme_ActionBar" parent="MyTheme_ActionBar.Base">
    <item name="actionModeBackground">@color/appAccentColor</item>
	</style>
  <!-- Base theme applied no matter what API -->
  <style name="MyTheme.Base" parent="Theme.AppCompat.Holo.Light.NoActionBar">
    <item name="android:windowNoTitle">true</item>
    <!--We will be using the toolbar so no need to show ActionBar-->
    <item name="windowActionBar">false</item>
    <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette-->
    <!-- colorPrimary is used for the default action bar background -->
    <item name="colorPrimary">@color/appPrimaryColor</item>
    <!-- colorPrimaryDark is used for the status bar -->
    <item name="colorPrimaryDark">@color/appPrimaryDarkColor</item>
    <!-- colorAccent is used as the default value for colorControlActivated
         which is used to tint widgets -->
    <item name="colorAccent">@color/appAccentColor</item>
     <!-- You can also set colorControlNormal, colorControlActivated
         colorControlHighlight and colorSwitchThumbNormal. -->
		<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
    
  </style>

	<style name="MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
		<item name="android:windowNoTitle">true</item>
		<!--We will be using the toolbar so no need to show ActionBar-->
		<item name="windowActionBar">false</item>
		<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette-->
		<!-- colorPrimary is used for the default action bar background -->
    <item name="colorPrimary">@color/appPrimaryColor</item>
		<!-- colorPrimaryDark is used for the status bar -->
    <item name="colorPrimaryDark">@color/appPrimaryDarkColor</item>
		<!-- colorAccent is used as the default value for colorControlActivated
         which is used to tint widgets -->
		<item name="colorAccent">@color/appAccentColor</item>
		<!-- You can also set colorControlNormal, colorControlActivated
         colorControlHighlight and colorSwitchThumbNormal. -->
		<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>

	</style>



  
	<style name="MyTheme_ActionBar.Base" parent="Theme.AppCompat.Light.DarkActionBar">
		<item name="android:windowNoTitle">true</item>
		<item name="windowActionBar">true</item>
		<item name="colorPrimary">@color/appPrimaryColor</item>
		<item name="colorPrimaryDark">@color/appPrimaryDarkColor</item>
		<item name="colorAccent">@color/appAccentColor</item>
		<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
    
    <item name="actionModeBackground">@color/appAccentColor</item>
    <item name="searchViewStyle">@style/CustomSearchViewStyle</item>
    <item name="autoCompleteTextViewStyle">@style/AutoCompleteTextView</item>

  </style>
  <style name="AutoCompleteTextView" parent="Widget.AppCompat.Light.AutoCompleteTextView">
    <item name="android:textColor">#f0f</item>
    <item name="android:textCursorDrawable">@null</item>
    <item name="android:textColorHighlight">#0f0</item>
  </style>
  

  <style name="CustomSearchViewStyle" parent="Widget.AppCompat.SearchView">
    <item name="queryBackground">@color/appPrimaryDarkColor</item>

  </style>


	<style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
		<item name="spinBars">true</item>
		<item name="color">@android:color/white</item>
	</style>

  <style name="GroupDetailInSearchResult">
    <item name="@android:textStyle">italic</item>
  </style>

  <style name="Base_Dialog" parent="Theme.AppCompat.Light.Dialog" />
  <style name="Dialog" parent="Base_Dialog"></style>


  <style name="TextAppearance_EditEntry">
    <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
    <item name="android:textSize">18sp</item>
    <item name="android:textColor">?android:attr/textColorPrimary</item>
  </style>

  <style name="TextAppearance_EditEntry_Value" parent="TextAppearance_EditEntry">
    <item name="android:gravity">center_vertical</item>
    <item name="android:layout_gravity">center_vertical</item>
    <item name="android:layout_marginRight">12dip</item>
    <item name="android:layout_marginLeft">12dip</item>
  </style>

  <style name="TextAppearance_EditEntry_Small">
    <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    <item name="android:textSize">14sp</item>
    <item name="android:textColor">?android:attr/textColorSecondary</item>
    <item name="android:textAllCaps">true</item>
  </style>
  
  <style name="TextAppearance_SmallHeading" parent="TextAppearance_EditEntry_Small">
    <item name="android:minHeight">24dip</item>
    <item name="android:layout_width">144dip</item>
    <item name="android:layout_marginTop">12dip</item>
    <item name="android:layout_marginRight">16dip</item>
    <item name="android:paddingRight">8dip</item>
    <item name="android:layout_marginBottom">-12dip</item>
  </style>
</resources>

